import request from '@/router/axios';

export const getList = (params) => {
  return request({
    url: '/api/chfs/search',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const remove = (filepath) => {
  return request({
    url: '/api/chfs/rmfiles',
    method: 'delete',
    params: {
      filepath,
    }
  })
}
